package com.dola.dao.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.dola.dao.UserDao;
import com.dola.entity.User;

@Component
public class UserServiceImpl {

	@Autowired
	UserDao uDao;

	public User getByName(String username) {
		User u= uDao.getByName(username);
		return u;
	}

}
